package com.lnking.lnkingplace.mapper;

import com.lnking.lnkingplace.model.dto.placeProblem.PlaceProblemDto;
import com.lnking.lnkingplace.model.entity.PlaceProblem;
import com.lnking.starter.mybatis.mapper.CustomBaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-03
 */
public interface PlaceProblemMapper extends CustomBaseMapper<PlaceProblem> {

    PlaceProblemDto getDetails(String id);

    @Update(" update place_problem set del_flag = 1 ")
    void updateDelFlag();
}
